const { defineConfig } = require("cypress");

module.exports = defineConfig({
  e2e: {
    setupNodeEvents(on, config) {
      // implement node event listeners here
    },
    experimentalSessionAndOrigin: true,
    baseUrl: 'http://ops-dev.cocos.org',
    // baseUrl: 'http://ops-qa.cocos.org'
  },
  chromeWebSecurity: false,
  viewportWidth: 2040,
  viewportHeight: 1200,
  defaultCommandTimeout: 5000
});
